Skip to content

fix: real pointer over the taskbar keyboard layout menu in a Wind session (#569) - #570

Merged
Maxaubert merged 1 commit into
mainfrom
fix/shell-flyout-pointer
Nov 15, 2026
Merged

Maxaubert merged 1 commit into
mainfrom
fix/shell-flyout-pointer

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Fixes #569.

In a Wind (sprite) session (txNativeCursor=0), the cursor went under the taskbar keyboard layout menu, the same way it went under the emoji panel before #492.

Cause (measured with a WinEvent probe on 26300): the menu is explorer's Shell_InputSwitchTopLevelWindow ("Input Flyout"), band 3 (ZBID_IMMERSIVE_IHM). It is shown and hidden for each open, and the shell composes it above every band Wind can create. Shell-panel detection only knew TextInputHost's IME window.

Fix

  • src/track/shell_panel.h (new, pure, tested): classifies the two shell windows and says when each one counts as open.
  • focus_track.cpp: a show/hide WinEvent hook next to the cloak hook. A close rescans for any panel still open. The 250 ms re-check and the start-up scan use the same test.
  • Docs: 07-cursor and the CLAUDE.md gotcha.

Verified

  • build.bat test: 686/686 pass. build.bat check and the copyright gate pass.
  • Deployed the signed UIAccess build. Max confirmed the cursor now shows over the keyboard layout menu, and the emoji panel still works.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SkyGaU6Me9d4nN9js9pXrN

…sion (#569)

The keyboard layout menu (explorer's Shell_InputSwitchTopLevelWindow, band 3) is composed
above every band Wind can create, like the emoji panel, so the sprite cursor went under it.
The shell-panel detection now also follows that window (shown and hidden per open) through a
show/hide hook, next to TextInputHost's IME window. A close rescans so one open panel does
not drop another. The classifier is pure and tested (shell_panel.h).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SkyGaU6Me9d4nN9js9pXrN
@Maxaubert
Maxaubert merged commit a51277c into main Nov 15, 2026
1 check passed
@Maxaubert
Maxaubert deleted the fix/shell-flyout-pointer branch November 15, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor goes under the taskbar keyboard layout menu (explorer XAML flyouts) in a Wind session

1 participant